home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d6 / xact.arc / X12SHARE.DOC < prev    next >
Text File  |  1991-04-28  |  76KB  |  2,162 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                  Shareware XACT-12C
  9.  
  10.  
  11.  
  12.  
  13.                            The Hewlett-Packard Compatible
  14.  
  15.                                 Financial Calculator
  16.  
  17.                                     USER'S MANUAL
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                 CalcTech Incorporated
  38.  
  39.                         13629 Bellevue-Redmond Rd., Suite 202
  40.  
  41.                                  Bellevue, WA. 98005
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.                           Sales, 9:00AM-5:00PM Pacific time
  50.                                     206-643-1682
  51.  
  52.                       Tech Support,Info Line,24 Hour Voice Mail
  53.                                     206-527-9950
  54.  
  55.  
  56.                                 Description
  57.  
  58.      This shareware version of XACT-12C is not a demo program!   It is
  59.      a  complete,  full   featured  Financial  Calculator  for  MS-DOS
  60.      computers,  equivalent to  the  Hewlett-Packard  HP-12C  handheld
  61.      calculator.
  62.  
  63.      Since  it  is  a  shareware  program,  you  may make  copies  and
  64.      distribute them to your friends and co-workers, on bulletin board
  65.      systems, and so on.  However, you may not modify this  program or
  66.      documentation in any  manner,  nor may you distribute the program
  67.      or documentation for profit (handling fees are OK).
  68.  
  69.  
  70.                              License Agreement
  71.  
  72.      THE SOFTWARE HEREIN ARE PROVIDED  "AS IS" WITHOUT WARRANTY OF ANY
  73.      KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  74.      THE IMPLIED  WARRANTIES  OF  MERCHANTABILITY  AND  FITNESS  FOR A
  75.      PARTICULAR PURPOSE.   THE  ENTIRE  RISK  AS  TO  THE  QUALITY AND
  76.      PERFORMANCE OF THE PROGRAMS IS WITH YOU.
  77.  
  78.      IN  NO  EVENT  SHALL CALCTECH OR ANY OF IT'S OFFICERS, DIRECTORS,
  79.      SHAREHOLDERS, EMPLOYEES,  AFFILIATES,  OWNERS,  OR  OTHER RELATED
  80.      PARTIES BE LIABLE  TO  YOU  OR  ANY OTHER THIRD PARTY FOR DAMAGES
  81.      INCLUDING ANY  LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR
  82.      CONSEQUENTIAL DAMAGES ARISING OUT OF  THE USE OF OR THE INABILITY
  83.      TO USE THIS PRODUCT OR AS TO THE PERFORMANCE OF THIS PRODUCT EVEN
  84.      IF WE HAVE  BEEN  ADVISED  OF  THE POSSIBILITY OF SUCH DAMAGES IN
  85.      ADVANCE.
  86.  
  87.      SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY
  88.      FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO  THE  ABOVE LIMITATION
  89.      OR EXCLUSION MAY NOT APPLY TO YOU.
  90.  
  91.      THIS  AGREEMENT  IS  GOVERNED  BY   THE  LAWS  OF  THE  STATE  OF
  92.      WASHINGTON.
  93.  
  94.  
  95.  
  96.                            Trademarks/Copyrights
  97.  
  98.      HP-11C, HP-12C, and HP-16C are trademarks of Hewlett-Packard
  99.      PC-DOS, IBM-PC, PC-XT, PC-AT and PS/2 are trademarks of IBM.
  100.      MS-DOS, Microsoft, and Word are trademarks of Microsoft Corp.
  101.      Tornado Notes is a trademark of Micro Logic Corp.
  102.      Hotline is a trademark of General Information, Inc.
  103.  
  104.      (C)Copyright 1986-1989, 1990 by CalcTech Inc.  Specifications
  105.      herein are subject to change without notice.
  106.  
  107.  
  108.  
  109.  
  110.                                    - 2 -
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.                  Registration & Commercial Version Upgrade
  120.  
  121.  
  122.  
  123.      When  you register XACT-12C for only  $28.00  +  $4.00  shipping,
  124.      we'll mail you the COMMERCIAL  VERSION UPGRADE to the program. It
  125.      contains a number of features  not  available  in  this shareware
  126.      version including:
  127.  
  128.  
  129.          o  TSR RAM-Resident (Pop-Up) capability
  130.          o  Mouse Support
  131.          o  Import/Export data from an application
  132.          o  Full programming. Programs may be saved as disk files.
  133.          o  Simulated tape which may be viewed, printed, stamped
  134.             with messages, and saved to disk.
  135.          o  Typeset printed user's manual
  136.          o  Discounts on future upgrades and notice of new products
  137.  
  138.  
  139.      Or, you may  wish  to  register  all three XACT calculators:  the
  140.      XACT-11C SCIENTIFIC, XACT-12C FINANCIAL, and XACT-16C PROGRAMMER,
  141.      for only  $48.00 + $4.00 shipping, and receive COMMERCIAL VERSION
  142.      UPGRADES for all three calculators.
  143.  
  144.      Why not register today?
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.                                    - 3 -
  168.  
  169.  
  170.  
  171.                XACT SERIES CALCULATORS - REGISTRATION ORDER FORM
  172.  
  173.  
  174.      +------+----------------------------------------+----------+----------+
  175.      | Quan |  Description                           |  Price   |  Total   |
  176.      +======+========================================+==========+==========+
  177.      |      |                                        |          |          |
  178.      |      |  XACT-11C Scientific Calculator        |  $28.00  |          |
  179.      +======+========================================+==========+==========+
  180.      |      |                                        |          |          |
  181.      |      |  XACT-12C Financial Calculator         |  $28.00  |          |
  182.      +======+========================================+==========+==========+
  183.      |      |                                        |          |          |
  184.      |      |  XACT-16C Programmer's Calculator      |  $28.00  |          |
  185.      +======+========================================+==========+==========+
  186.      |      |  SPECIAL OFFER!                        |          |          |
  187.      |      |  All 3  (XACT-11C, XACT-12C, XACT-16C) |  $48.00  |          |
  188.      +======+========================================+==========+==========+
  189.                        |                                        |          |
  190.                        | WA. state residents add 8.1% sales tax |          |
  191.                        +========================================+==========+
  192.                                             |                   |          |
  193.      Mail this form to:                     | Shipping/Handling |  $4.00   |
  194.                                             +===================+==========+
  195.      CalcTech, Inc.                                      Total  |          |
  196.      13629 Bellevue-Redmond Rd. Suite 202               Amount  |          |
  197.      Bellevue, WA.  98005                             Enclosed  +==========+
  198.      (206) 643-1682
  199.  
  200.  
  201.      Your Name: ______________________________  Phone: _____________________
  202.  
  203.      Company (if applicable)________________________________________________
  204.  
  205.      Address: ______________________________________________________________
  206.  
  207.      City: ________________________________  State __________ Zip __________
  208.  
  209.  
  210.  
  211.  
  212.      [ ] Check Enclosed   [ ] VISA         [ ] Mastercard
  213.  
  214.      Credit card #:____________________________________ Exp. Date: ____/____
  215.  
  216.      Signature: ____________________________________________________________
  217.  
  218.      Cardholder's name: ____________________________________________________
  219.  
  220.  
  221.  
  222.  
  223.  
  224.                                    - 4 -
  225.  
  226.  
  227.  
  228.  
  229.           ! ! ! !   P L E A S E    R E A D    T H I S   ! ! ! !
  230.  
  231.  
  232.      This  user's  manual  contains  complete  documentation  for  the
  233.      COMMERCIAL VERSION of XACT-12C.  As such, several of the features
  234.      described  within  this  manual will not be  available  with  the
  235.      SHAREWARE VERSION of the program included on this disk.
  236.  
  237.  
  238.      We have included documentation for the COMMERCIAL VERSION UPGRADE
  239.      so that should you find benefit from the use  of  these  programs
  240.      and decide to register (and we  hope  you will), you would have a
  241.      good idea of what to  expect from the COMMERCIAL VERSION UPGRADE.
  242.      Please  note  that  this  is  not the actual  commercial  version
  243.      documentation  but rather a disk based  "reprint".    Should  you
  244.      decide to register,  you  will receive a complete typeset printed
  245.      manual of the product(s).
  246.  
  247.  
  248.      XACT SERIES  CALCULATORS are shareware, not freeware.  Payment is
  249.      voluntary and on the "honor system".  We ask  that  you  register
  250.      the  product(s) if after a short period of  use,  you  find  them
  251.      useful in your work.  We hope that you appreciate the "try before
  252.      you buy" concept and that you will register.
  253.  
  254.  
  255.      Anyone who has ever  purchased  expensive  (or  even inexpensive)
  256.      software can attest to  the  frustration  of  being "burned" by a
  257.      lousy product.  We  think  XACT  SERIES CALCULATORS are excellent
  258.      products  but  we're  giving  you  the opportunity to  judge  for
  259.      yourself.  If you agree, please take a moment to register.
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.                                    - 5 -
  282.                              TABLE OF CONTENTS
  283.  
  284.  
  285.  
  286.      Section  Title                                                    Page
  287.  
  288.      1      Getting Started  ..........................................  8
  289.  
  290.      1.1         Introduction .........................................  8
  291.      1.2         Other Guides .........................................  8
  292.      1.3         System Requirements ..................................  9
  293.      1.4         Installing XACT-12C and Making Backups ...............  9
  294.      1.5         Command Line Options & Changing Hot Keys .............  9
  295.  
  296.      2      Loading XACT-12C .......................................... 11
  297.  
  298.      2.1         XACT-12C Shareware Version ........................... 11
  299.      2.2         XACT-12C as a RAM Resident Program ................... 11
  300.      2.3         XACT-12C as a Removable RAM Resident Program ......... 11
  301.      2.4         XACT-12C as a standalone DOS program ................. 12
  302.  
  303.      3      XACT-12C Basics ........................................... 13
  304.  
  305.      3.1         Keyboard Conventions ................................. 13
  306.      3.2         Function Keys ........................................ 13
  307.      3.3         Prefix Keys .......................................... 13
  308.      3.4         Entering Numbers ..................................... 14
  309.      3.5         "Short Cut" Keys ..................................... 14
  310.  
  311.      4      Basic Operations .......................................... 15
  312.  
  313.      4.1         Setting the Display Format ........................... 15
  314.      4.2         Arithmetic Calculations and RPN ...................... 15
  315.      4.3         Clearing Numbers ..................................... 16
  316.      4.4         Negative Numbers ..................................... 16
  317.      4.5         Mathematical Operations .............................. 17
  318.      4.6         Exponential Notation ................................. 17
  319.      4.7         Memory Storage Registers ............................. 17
  320.      4.8         Stack Operations ..................................... 18
  321.      4.9         The LastX Register ................................... 18
  322.  
  323.      5      Features (Commercial Version) ............................. 19
  324.  
  325.      5.1         Getting Help ......................................... 19
  326.      5.2         Viewing the Tape ..................................... 19
  327.      5.3         Feeding a Result ..................................... 19
  328.      5.4         Stamping the Tape .................................... 19
  329.      5.5         Printing the Tape .................................... 20
  330.      5.6         Storing the Tape ..................................... 20
  331.      5.7         Loading a Program .................................... 20
  332.      5.8         Storing a Program .................................... 20
  333.      5.9         Importing Data from an Application ................... 21
  334.  
  335.  
  336.  
  337.  
  338.                                    - 6 -
  339.      Section  Title                                                    Page
  340.  
  341.      6      Financial Calculations .................................... 22
  342.  
  343.      6.1         Financial Registers and Functions .................... 22
  344.      6.2         Cash Flow Notation ................................... 22
  345.      6.3         Percentage Operations ................................ 23
  346.      6.4         Simple Interest ...................................... 24
  347.      6.5         Compound Interest .................................... 24
  348.      6.6         Amortization ......................................... 27
  349.      6.7         Net Present Value .................................... 27
  350.      6.8         Internal Rate of Return .............................. 28
  351.  
  352.      7      Bond Calculations ......................................... 30
  353.  
  354.      7.1         Bond Yield ........................................... 30
  355.      7.2         Bond Price ........................................... 30
  356.  
  357.      8      Statistical Calculations .................................. 31
  358.  
  359.      8.1         Entering and Removing Numbers ........................ 31
  360.      8.2         Statistical Mean ..................................... 31
  361.      8.3         Statistical Weighted Mean ............................ 32
  362.      8.4         Standard Deviation ................................... 32
  363.      8.5         Linear Estimate ...................................... 33
  364.  
  365.      9      Calendar Calculations ..................................... 34
  366.  
  367.      9.1         Days Between Dates ................................... 34
  368.      9.2         Date Calculations .................................... 34
  369.  
  370.      10     Programming ............................................... 35
  371.  
  372.      10.1        Introduction to Programming .......................... 35
  373.      10.2        Entering a Program Into XACT-12C ..................... 35
  374.      10.3        Program Loops and Branches ........................... 37
  375.  
  376.      11     Appendix/Error Conditions ................................. 38
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.                                    - 7 -
  396.      1 Getting Started
  397.  
  398.  
  399.  
  400.      1.1 Introduction
  401.  
  402.      XACT-12C is a software emulation  of  the  famous Hewlett-Packard
  403.      HP-12C.  If you are familiar with the HP-12C, you will  find that
  404.      you  already  know how to use XACT-12C.    If  not,  you'll  find
  405.      XACT-12C easy to  learn  and  use.   It will become an invaluable
  406.      tool in your work.
  407.  
  408.      XACT-12C  is a RAM resident program  (Commercial  Version).    It
  409.      remains loaded in your computer's memory ready to "pop-up" at the
  410.      activation of a "hot key", even if you're running another program
  411.      at  the  time. XACT-12C can also be  run  as  a  stand-alone  DOS
  412.      program, if desired.
  413.  
  414.      If you are already familiar with DOS and with the HP-12C, you may
  415.      only need to read Chapters 2 and 3.    This  will  provide enough
  416.      information to get you started.
  417.  
  418.      If you are new to DOS and/or the HP-12C, you may wish to read, or
  419.      at least skim, Chapters 1 through 6.
  420.  
  421.      NOTE:
  422.  
  423.      A number of  the  function  keys  on  the  XACT-12C  use graphics
  424.      characters to represent them.  Because this  disk-based shareware
  425.      documentation is printed  in  ASCII text mode, some function keys
  426.      cannot be accurately shown in this file.  We've tried our best to
  427.      emulate the look of the graphics  symbols  and to make it easy to
  428.      infer  which  functions  are  intended  from the context  of  the
  429.      Documentation.
  430.  
  431.  
  432.  
  433.      1.2 Other Guides
  434.  
  435.      There are a number  of  guides  and  references available for the
  436.      HP-12C  that  can  be  used  with  XACT-12C  as  well.  These are
  437.      generally available in bookstores and other places where Hewlett-
  438.      Packard calculators are sold.   Some  of  these  publications are
  439.      listed below
  440.  
  441.      "HP-12C  Owner's  Handbook  and  Problem  Solving  Guide"  Covers
  442.      general  operations, functions, applications, and programming  of
  443.      the HP-12C.  Published by the Hewlett-Packard Company.
  444.  
  445.      "HP-12C Solutions Handbook" Supplement  to  the  Owner's Handbook
  446.      and Problem Solving Guide.    Applications  include  real estate,
  447.      lending, savings, investment  analysis,  securities, forecasting,
  448.      pricing, statistics, personal finance, and  more.    Published by
  449.      the Hewlett-Packard Company.
  450.  
  451.  
  452.                                    - 8 -
  453.      "HP-12C Training  Guide"  Tutorial  introduction  to  the  HP-12C
  454.      containing lots of examples.   Published  by  the Hewlett-Packard
  455.      Company.
  456.  
  457.      "An Easy  Course in using the HP-12C" by Coffin/Wadman. Published
  458.      by Grapevine Publishing, Inc. P.O. Box 118, Corvallis, OR, 97339.
  459.  
  460.  
  461.  
  462.      1.3 System Requirements
  463.  
  464.      To operate the XACT-12C calculator, you will need an IBM  PC, PC-
  465.      XT, PC-AT, PS/2, or close compatible equipped with  at  least the
  466.      following:
  467.  
  468.         256K RAM
  469.         One floppy disk drive
  470.         PC-DOS or MS-DOS version 2.00 or later
  471.  
  472.  
  473.  
  474.      1.4 Installing XACT-12C and Making Backups
  475.  
  476.      You should make a copy of the programs contained on  the XACT-12C
  477.      diskette for backup purposes. Use  the DOS "copy" command to copy
  478.      all the files to another diskette or to your hard disk. There may
  479.      be  a  file  named README.DOC on your disk.  If  so,  you  should
  480.      examine it using your word processor or the  DOS  "type" command.
  481.      You may wish to  install  XACT-12C  in  your AUTOEXEC.BAT file so
  482.      that  it's  automatically  ready each time you power up or reboot
  483.      your computer.  If you  are unfamiliar with an AUTOEXEC.BAT file,
  484.      see your DOS manual.
  485.  
  486.  
  487.  
  488.      1.5 Command Line Options/Changing Hot-Keys (Commercial Version)
  489.  
  490.      A command line option  is  an  additional  command typed when you
  491.      first  load  XACT-12C.    There  are  several  of  these  options
  492.      available.   For example, if you wish to  save  memory  space  by
  493.      running  XACT-12C in non RAM-Resident mode,  you  would  use  the
  494.      nopop command line option, i.e.:
  495.  
  496.          x12  /nopop  [ENTER]
  497.  
  498.      ([ENTER] means press  the  ENTER  key).   You can also change the
  499.      invocation "hot-key" using a command line  option.  Valid hot-key
  500.      definitions are Alt-Shift-F (default), Alt-F, and Alt-Ctrl-F. For
  501.      example, to change the  invocation  "hot-key"  from  it's default
  502.      setting of Alt-Shift-F to Alt-F,  and  also  change  the tapefile
  503.      name to test.txt in the \bin directory:
  504.  
  505.          x12  /alt-f   /tapefile=\bin\test.txt
  506.  
  507.  
  508.  
  509.                                    - 9 -
  510.      The  following  is  a  list  of available command  line  options:
  511.      (Commercial Version only)
  512.  
  513.         /nopop        Run XACT-12C in non RAM Resident mode.
  514.         /mono         Force XACT-12C into monochrome mode.
  515.         /tapefile=    Name of file used to save the tape.
  516.         /alt-f        Change the invocation key to Alt-F.
  517.         /alt-ctrl-f   Change the invocation key to Alt-Ctrl-F.
  518.         /nomouse      Disable mouse operation.
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.                                    - 10 -
  567.      2 Loading XACT-12C
  568.  
  569.  
  570.  
  571.      2.1 XACT-12C shareware version
  572.  
  573.      To load the Shareware XACT-12C, at the DOS prompt type:
  574.  
  575.          x12share [ENTER]
  576.  
  577.  
  578.  
  579.      2.2 XACT-12C as a RAM Resident program    (Commercial Version)
  580.  
  581.      To load XACT-12C, at the DOS prompt type:
  582.  
  583.          x12 [ENTER]
  584.  
  585.      You will see  the  copyright  message  appear on the screen.  The
  586.      computer  will then return to the DOS prompt  and  appear  as  if
  587.      nothing had happened.    However, the XACT-12C calculator has now
  588.      been loaded into your computer's memory and is ready to pop-up at
  589.      the activation of the hot key.  To activate XACT-12C, press:
  590.  
  591.          Alt-Shift-F
  592.  
  593.      XACT-12C  will  now  appear  on  your  screen,  ready to  perform
  594.      calculations.  To exit from XACT-12C, press the Esc key.
  595.  
  596.  
  597.  
  598.      2.3 XACT-12C as a  Removable  RAM-Resident  Program   (Commercial
  599.      Version)
  600.  
  601.      When XACT-12C is loaded  as  a RAM Resident program as in section
  602.      2.1 above, it remains loaded in your computer's memory until your
  603.      computer is rebooted  or  powered  off.   There is another way to
  604.      install  XACT-12C in such a way that it  may  be  removed  memory
  605.      without rebooting.   To  do  so,  you must use the TSRADD.COM and
  606.      TSRDROP.COM utilities provided.  Using  this  method,  to install
  607.      XACT-12C, you would type at the DOS prompt:
  608.  
  609.          tsradd x12 [ENTER]
  610.          x12 [ENTER]
  611.  
  612.      In fact, you may load RAM-Resident programs from other vendors as
  613.      well  using  the  TSRADD.COM utility.  For example, to load other
  614.      vendor's TSR's such as Tornado Notes and Hotline, you would type:
  615.  
  616.          tsradd tn [ENTER]
  617.          tn [ENTER]
  618.          tsradd hotline [ENTER]
  619.          hotline [ENTER]
  620.  
  621.  
  622.  
  623.                                    - 11 -
  624.      If you aren't running these programs from your current directory,
  625.      be sure to provide  a  complete pathname, or use the PATH command
  626.      provided with DOS.
  627.  
  628.      To remove your  memory  resident  programs,  use  the TSRDROP.COM
  629.      utility.  It is necessary to drop your TSR's in the reverse order
  630.      that they were added.  When you run TSRDROP.COM, the utility will
  631.      prompt you with  the  next  TSR  to be removed from memory. Press
  632.      ENTER to confirm the drop or Esc to exit the utility.
  633.  
  634.  
  635.  
  636.      2.4 XACT-12C as a Stand Alone Program  (Commercial Version)
  637.  
  638.      XACT-12C defaults to being a RAM Resident program,  but  can also
  639.      be run as a stand-alone DOS program.  To run XACT-12C as a stand-
  640.      alone program, type:
  641.  
  642.         x12 /nopop
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.                                    - 12 -
  681.      3 XACT-12C Basics
  682.  
  683.  
  684.  
  685.      3.1 Keyboard Conventions
  686.  
  687.      Throughout this manual, XACT-12C function keys are denoted within
  688.      a  box.     For   example,  the  function  key  for  amortization
  689.      calculations is shown as  [AMORT].   In the case of function keys
  690.      which require a prefix key (discussed in the  next  section), the
  691.      prefix key is not given in this manual  since  it  can  easily be
  692.      determined.
  693.  
  694.      Keys on the PC keyboard are listed in this  manual  using  single
  695.      quotes  such as 'a'.  Numbers to be  entered  into  XACT-12C  are
  696.      shown in normal type.
  697.  
  698.  
  699.  
  700.      3.2 Function Keys
  701.  
  702.      XACT-12C has approximately 70 different function keys arranged in
  703.      the same ordering as  on  the HP-12C.  Function keys are arranged
  704.      in  groups of up to 3 functions per key; an upper, a lower and  a
  705.      middle  function  all  correspond to one function key.  The upper
  706.      and  lower  functions  are invoked by first pressing a prefix key
  707.      (discussed in the next  section)  and then the function key.  The
  708.      middle function does not require the use of a prefix key.  The PC
  709.      keystroke corresponding to function key is  shown  immediately to
  710.      the left of the function box.
  711.  
  712.      The  first  row  of function keys use the PC keys F1 through F10.
  713.      The second through  fourth  rows use the alphabetic characters as
  714.      arranged left to right on your PC keyboard.
  715.  
  716.      For  example,  the  [Clx]  function  on  XACT-12C  is invoked  by
  717.      pressing the letter 'g' on the PC keyboard.  Likewise,  the [Rcl]
  718.      function  is  invoked  by pressing the  letter  'b'.    The  [PV]
  719.      function is invoke by pressing F3.
  720.  
  721.  
  722.  
  723.      3.3 Prefix Keys
  724.  
  725.      The left shift key and the right shift  key  on  the  PC keyboard
  726.      operate as prefix keys.  They are equivalent to the gold  [f] key
  727.      and the  blue  [g]  key  on the HP-12C.  Prefix keys allow you to
  728.      activate the upper and lower  functions assigned to a PC function
  729.      key.  For example, to invoke the [SOYD] function, you would press
  730.      and release the left shift key, and then press  the  letter  'r'.
  731.      Likewise,  to invoke the [Frac] function,  you  would  press  and
  732.      release  the  right  shift key and then press the letter 'r'.  To
  733.      invoke the [NPV] function, press  and release the left shift key,
  734.      and then press F3.
  735.  
  736.  
  737.                                    - 13 -
  738.      3.4 Entering Numbers
  739.  
  740.      To enter numbers into  XACT-12C,  use  the  numeric keypad on the
  741.      right  side of your keyboard or the  numbers  on  the  typewriter
  742.      portion of the keyboard.
  743.  
  744.  
  745.  
  746.      3.5 Short Cut Keys
  747.  
  748.      You can use the Enter key  on  the  PC, (also known as the Return
  749.      key) as the XACT-12C [ENTER] key  as  a short cut. Also, the '+',
  750.      '-', '*', and '/' keys adjacent to the numeric keypad function as
  751.      you would expect.
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.                                    - 14 -
  795.      4. Basic Operations
  796.  
  797.  
  798.  
  799.      4.1 Setting the Display Format
  800.  
  801.      When you first start  it  up,  XACT-12C  defaults to displaying 2
  802.      digits  to  the  right  of  the  decimal  point.   To change this
  803.      setting, press the [Fix] function key followed by a number from 0
  804.      to  9  (enter  numbers  using  the numeric keypad).  This  number
  805.      represents the number of  digits  displayed  to  the right of the
  806.      decimal point.  Note that the display format does not  affect the
  807.      number  of  digits  used to perform calculations, only the way in
  808.      which they are  displayed.  If  you  were using a 2 digit display
  809.      format, the number 12.006 would be shown on the display as 12.01.
  810.      In this example, the display has been rounded to  2  digits  past
  811.      the decimal point. However, the  internal  representation  of the
  812.      number is still kept as 12.006,  and  this value would be used in
  813.      subsequent calculations.
  814.  
  815.      To round the number internally to match the number in the display
  816.      use the [Rnd] key.  In the above example, if  the  [Rnd] key were
  817.      pressed, the internal value 12.006 would be converted to 12.01.
  818.  
  819.  
  820.  
  821.      4.2 Arithmetic Calculations and RPN
  822.  
  823.      You may already  be  familiar with Reverse Polish Notation (RPN).
  824.      RPN is a type of calculator logic that eliminates  the  need  for
  825.      the  equals  key  and  the  use of parenthesis  in  computations.
  826.      Instead,  multiple  operands  are  entered  into  the  calculator
  827.      separated by the [ENTER] key.  For example, to add the  numbers 3
  828.      and 4:
  829.  
  830.      Keystroke                 Display        Comment
  831.      ================================================================
  832.         3  [ENTER]             3.00
  833.         4  [ + ]               7.00           Add 3 + 4
  834.  
  835.      The result, 7.00 is now displayed.  To multiply this result by 5:
  836.  
  837.      Keystroke                 Display        Comment
  838.      ================================================================
  839.         5 [ * ]                35.00          7.00*5.00
  840.  
  841.      The way that XACT-12C performs  these calculations with RPN is by
  842.      using a stack.  The stack consists of 4 registers:  X,  Y, Z, and
  843.      T.   It is not generally necessary  to  understand  the  internal
  844.      workings of the stack but for completeness they  will  briefly be
  845.      discussed below.
  846.  
  847.      Any number displayed is said to be in the X  register.   When the
  848.      [ENTER] key is pressed, a number in the X Register is pushed into
  849.  
  850.  
  851.                                    - 15 -
  852.      the Y  Register  and  the  previous  number  in the Y Register is
  853.      pushed  into  the  Z  Register.    The  previous  number in the Z
  854.      register   is pushed into the T Register.  T stands for "Top" and
  855.      represents the top of  the  stack of numbers.  The previous value
  856.      of the T register   is lost.  When a function key such as the [+]
  857.      key  is pressed, the value held in the Y register is added to the
  858.      X register  and  this  result  is  now  stored in the X register.
  859.      Pressing  [ENTER]  does  one  other  thing, it leaves  the  stack
  860.      disabled. This means that a  number entered after the [ENTER] key
  861.      has  been pressed is not pushed on the stack, it remains in the X
  862.      register.  Most operations enable the stack so that  when  a  new
  863.      number  is  entered,  the previous contents of the X register are
  864.      pushed into the Y register.  The most notable exceptions  to this
  865.      rule are the [ENTER] and the [Clx] function keys.
  866.  
  867.  
  868.  
  869.      4.3 Clearing Numbers
  870.  
  871.      You can  clear  a  number  in  the  display by pressing the [Clx]
  872.      function  key.  The calculator is now  ready  to  accept  another
  873.      entry.  Unlike other calculators, XACT-12C does not require a key
  874.      for clearing a number  and  a different key for clearing the last
  875.      entry.  Whether you have made a mistake  in  adding  a  series of
  876.      numbers, or simply wish to start a new calculation, use the [Clx]
  877.      function  key.  XACT-12C also contains  other  function  keys  to
  878.      clear the following:
  879.  
  880.  
  881.         [S]     Clear Sum.  Used to clear the statistical registers
  882.                 when perform statistics calculations.
  883.         [Prgm]  Clear Program.  Used to clear the program memory when
  884.                 programming XACT-12C.
  885.         [Fin]   Clear Financial Registers.  Used to clear the financial
  886.                 registers when performing a new compound interest
  887.                 calculation.
  888.         [Reg]   Clear Registers.  Used to clear all registers; display,
  889.                 stack, memory, financial, and LastX.  This key is used
  890.                 when beginning a new [NPV] or [IRR] calculation, as
  891.                 well as various other places.
  892.  
  893.  
  894.  
  895.      4.4 Negative Numbers
  896.  
  897.      To  change  the  sign of a number in the display, press the [ChS]
  898.      (Change Sign) function key.  The [ChS] function  will  toggle the
  899.      sign of the  value in the display.  The [ChS] key is also used to
  900.      change  the  sign  of  an  exponent if you are using  exponential
  901.      notation.
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.                                    - 16 -
  909.      4.5 Mathematical Operations
  910.  
  911.      XACT-12C   contains  a  number  of  commonly  used   mathematical
  912.      operations.
  913.  
  914.  
  915.         [x]      Square root of a number.
  916.         [Ln]     Natural log of a number.
  917.         [e^x]    Exponential of a number.
  918.         [1/x]    Reciprocal of a number.
  919.         [Intg]   Return the integer portion of a number.
  920.         [Frac]   Return the fractional portion of a number.
  921.         [y^x]    Raise a number to a power of another number.
  922.  
  923.  
  924.  
  925.      4.6 Exponential Notation
  926.  
  927.      Use  exponential  notation  to  enter  very large or  very  small
  928.      numbers into XACT-12C.   The  [EEx] function key is used to enter
  929.      an  exponent.    For  example,  to  enter  the  number 12 * 10**9
  930.      (12,000,000,000) type:
  931.  
  932.  
  933.      Keystroke                 Display        Comment
  934.      ================================================================
  935.         12 [EEx] 9                 12.00        +09
  936.  
  937.      Likewise, to enter the number 12-09, you would type:
  938.  
  939.      Keystroke                 Display        Comment
  940.      ================================================================
  941.         12 [EEx] 9             12.00 +09
  942.         [ChS]                  12.00 -09
  943.  
  944.  
  945.  
  946.      4.7 Memory Storage Registers
  947.  
  948.      XACT-12C contains 20 different memory storage registers,  used to
  949.      perform  storage  and  memory  arithmetic  calculations.    These
  950.      memories will  retain their values until your computer is powered
  951.      off or re-booted.  Memory  registers in XACT-12C are  referred to
  952.      as  R0-R9  (for  register 0 through 9), and R.0 through R.9.  For
  953.      example, to store the value 20.3 in  memory register 2, type:
  954.  
  955.  
  956.      Keystroke                 Display        Comment
  957.      ================================================================
  958.         20.3 [Sto] 2           20.30
  959.  
  960.      To add the number 9.6 to the contents of register 2, type:
  961.  
  962.      Keystroke                 Display        Comment
  963.  
  964.  
  965.                                    - 17 -
  966.      ================================================================
  967.         9.6 [Sto] [ + ] 2      9.60
  968.  
  969.      Now, if you wish to view the contents of memory register 2, type:
  970.  
  971.      Keystroke                 Display        Comment
  972.      ================================================================
  973.         [Rcl] 2                29.90
  974.  
  975.      Memory register 2 contains the value 29.90.
  976.  
  977.  
  978.  
  979.      4.8 Stack Operations
  980.  
  981.      The  [x<>y]  function  exchanges the contents  of  the  X  and  Y
  982.      registers.    The [R|] function rolls down  the  stack.    The  T
  983.      register  is  copied  into the  Z register.  The  Z  register  is
  984.      copied into the Y register,  and the  Y  register  is copied into
  985.      the  X register.  The X register  is "rolled  around" into the  T
  986.      register.
  987.  
  988.  
  989.  
  990.      4.9 The LastX Register
  991.  
  992.      The [Lstx] function key  is  not technically a part of the stack.
  993.      It is used to recover  numbers entered just before a mathematical
  994.      operation  was performed  on  the stack.  The number recovered is
  995.      held  in  a register referred to as  the  LastX  register.    For
  996.      example,  assume  you  meant  to  add  the  numbers  12 and 5 but
  997.      accidentally pressed 6 instead of 5.
  998.  
  999.      Keystroke                 Display        Comment
  1000.      ================================================================
  1001.         12 [ENTER]             12.00
  1002.         6 [ + ]                18.00          Wrong value
  1003.         [Lstx]                  6.00
  1004.         [ - ]                  12.00          Subtract
  1005.         5 [ + ]                17.00          Correct result
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.                                    - 18 -
  1023.      5. Features  (Commercial Version only)
  1024.  
  1025.  
  1026.  
  1027.      5.1 Getting Help
  1028.  
  1029.      A Help menu is available when you are working with XACT-12C.   To
  1030.      obtain  help  press:
  1031.  
  1032.          Alt-F1
  1033.  
  1034.      An information screen will appear in a window.  The help menu can
  1035.      be removed by pressing F1 again.
  1036.  
  1037.  
  1038.  
  1039.      5.2 Viewing the Tape
  1040.  
  1041.      XACT-12C provides a  simulated  tape display which keeps a record
  1042.      of your  calculations  as  you  perform  them.   To view the tape
  1043.      press:
  1044.  
  1045.          Alt-F2
  1046.  
  1047.      The tape will appear in a window.  To remove  the  tape, press F2
  1048.      again.
  1049.  
  1050.  
  1051.  
  1052.      5.3 Feeding a Result
  1053.  
  1054.      To  feed  the  result  of  a calculation into the program  you're
  1055.      running press:
  1056.  
  1057.          Alt-F3
  1058.  
  1059.      The calculator will disappear and  the number in the display will
  1060.      be fed to your application.
  1061.  
  1062.  
  1063.  
  1064.      5.4 Stamping the Tape
  1065.  
  1066.      To stamp a message on the simulated tape press:
  1067.  
  1068.          Alt-F4
  1069.  
  1070.      The message will appear on the tape as  well  as  the  printer or
  1071.      tape disk file if either of these options are being used.
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.                                    - 19 -
  1080.      5.5 Printing the Tape
  1081.  
  1082.      To print the tape as you make calculations press:
  1083.  
  1084.          Alt-F5
  1085.  
  1086.      To turn off printing, press F5 again.
  1087.  
  1088.  
  1089.  
  1090.      5.6 Storing the Tape
  1091.  
  1092.      The simulated tape may be  saved  to  a  disk  file  as  you make
  1093.      calculations.   Each  time you  use  XACT-12C,  calculations  are
  1094.      appended to the tape file.  To store the tape, press
  1095.  
  1096.          Alt-F6
  1097.  
  1098.      The  tape will be saved under the name  X12.TAP  in  the  current
  1099.      directory.  If you change directories, a different tape file with
  1100.      the same name will be  used.  If you wish to use a different name
  1101.      for   your   tape   file,   use   the    command    line   option
  1102.      /tapefile=filename where filename is any valid DOS filename which
  1103.      can include a path (see section 1.6).
  1104.  
  1105.  
  1106.  
  1107.      5.7 Loading a Program
  1108.  
  1109.      To load a program previously saved press:
  1110.  
  1111.          Alt-F7
  1112.  
  1113.      A window  will  appear  requesting  a  file  name.  Enter the DOS
  1114.      filename of the program you wish to retrieve.
  1115.  
  1116.  
  1117.  
  1118.      5.8 Storing a Program
  1119.  
  1120.      XACT-12C  allows  you  to save programs as disk files.  To save a
  1121.      program on disk, press:
  1122.  
  1123.          Alt-F8
  1124.  
  1125.      A window will appear prompting you for comments.  You   can enter
  1126.      up   to 3 lines of comments, associated with the program you  are
  1127.      saving.  Press the  Esc key after you have entered  any comments.
  1128.      Another window will appear prompting you for a  filename.   Enter
  1129.      any valid DOS filename.
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.                                    - 20 -
  1137.      5.9 Importing Data from an Application
  1138.  
  1139.      You can "import" data from the screen of the previous program you
  1140.      were running before  popping-up  XACT-12C.  For instance, you may
  1141.      be working with a spreadsheet or word-processing program and wish
  1142.      to  add  a  series of numbers from the display screen.  To import
  1143.      data, press:
  1144.  
  1145.          Alt-F9
  1146.  
  1147.      You will see the screen you were working  with  before popping-up
  1148.      XACT-12C.    However,  you  have  not returned to  your  previous
  1149.      program.  Use the up, down, left, or right arrow keys to move the
  1150.      cursor to a number on the screen you wish to import.  Then, press
  1151.      F9 again to import the number into   XACT-12C.    It  will appear
  1152.      just  as if you had typed it in by hand.  If  you  now  press  F9
  1153.      again, you'll see the cursor will have moved  down a row. This is
  1154.      to help facilitate the importing of  a  "column"  of numbers.  If
  1155.      you wish to accept  the  data where the cursor rests, again press
  1156.      F9. If not, use the arrow keys to move to the desired location.
  1157.  
  1158.      It isn't possible to import data  from  a screen if the screen is
  1159.      in graphics  mode.    In  this  case,  XACT-11C will sound a beep
  1160.      indicating  that it can't import a number.    One  commonly  used
  1161.      program which utilizes graphics mode is Microsoft Word.    If you
  1162.      use  Word, you should use text mode.   Pressing  Alt-F9  in  Word
  1163.      allows you to switch between graphics and text modes.
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.                                    - 21 -
  1194.      6. Financial Calculations
  1195.  
  1196.  
  1197.  
  1198.      6.1 Financial Registers and Functions
  1199.  
  1200.      XACT-12C  contains  a  number  of  financial  registers.    These
  1201.      registers  are  function  keys used for storing  values  and  for
  1202.      computing compound interest problems. The financial registers are
  1203.      summarized here:
  1204.  
  1205.  
  1206.         [PV]      Store/Calculate Present Value
  1207.         [FV]      Store/Calculate Future Value
  1208.         [I]       Store/Calculate the Interest Rate per
  1209.                   compounding period
  1210.         [N]       Store/Calculate the Number of periods
  1211.  
  1212.      In addition, there are a  number of additional function keys used
  1213.      for financial calculations:
  1214.  
  1215.         [AMORT]   Calculate Amortization
  1216.         [INT]     Calculate simple Interest
  1217.         [NPV]     Calculate Net Present Value
  1218.         [IRR]     Calculate Internal Rate of Return
  1219.         [PRICE]   Calculate the Price of a Bond
  1220.         [YTM]     Calculate the Yield To Maturity of a Bond
  1221.         [SL]      Calculate Straight Line Depreciation
  1222.         [SOYD]    Calculate Sum of Years Digits Depreciation
  1223.         [DB]      Calculate Declining Balance depreciation
  1224.  
  1225.  
  1226.  
  1227.      6.2 Cash Flow Notation
  1228.  
  1229.      Compound  interest  calculations  involve  both  the  paying  and
  1230.      receiving of monies.  For example if you  take  out  a  loan, you
  1231.      initially receive  money  from the bank, then you must  pay money
  1232.      to the bank at periodic  intervals.   Likewise    if  you deposit
  1233.      money  into  a  savings account, you  are paying money  into that
  1234.      account and receiving money later in terms   of  what  you   have
  1235.      earned as principal and interest.
  1236.  
  1237.      There  is  a  convention used within XACT-12C  to  designate  the
  1238.      paying and receiving of monies when calculation compound interest
  1239.      calculations.  Money paid is always a negative  number,  since it
  1240.      is being subtracted from a source.  Likewise, money received is a
  1241.      positive  number.    Thus when  entering or calculating a problem
  1242.      using the [PV]  the  [FV]  or  the  [PMT]  registers,  you should
  1243.      observe the proper sign convention.    This  concept  will become
  1244.      clear in the examples of section 6.5.
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.                                    - 22 -
  1251.      6.3 Percentage Operations
  1252.  
  1253.      XACT-12C  performs   several   different   types   of  percentage
  1254.      calculations.  The [ % ] function calculates  the  percent amount
  1255.      of  a  number.  The [D%] calculates the difference in percent one
  1256.      number is from  another,    and  is used in percentage markup and
  1257.      discount calculations.   The  [%T]  calculates  the  percentage a
  1258.      number is of a total of numbers.
  1259.  
  1260.      Example:  Determine  the  total amount you would pay for a $39.95
  1261.      radio if the sales tax is 8.1%.
  1262.  
  1263.      Keystroke                 Display        Comment
  1264.      ================================================================
  1265.         39.95 [ENTER]          39.95
  1266.         8.1 [ % ]               3.24          Sales tax
  1267.         [ + ]                  43.19          Total paid.
  1268.  
  1269.  
  1270.      You would pay $43.19 including sales tax.
  1271.  
  1272.      Example: What is 20% of $3500.00?
  1273.  
  1274.      Keystroke                 Display        Comment
  1275.      ================================================================
  1276.         3500 [ENTER]           3500.00
  1277.         20 [ % ]               700.00
  1278.  
  1279.  
  1280.      Example: Gasoline prices fell last month from an average of $1.09
  1281.      to $.98.  What percent difference does this represent?
  1282.  
  1283.      Keystroke                 Display        Comment
  1284.      ================================================================
  1285.         1.09 [ENTER]             1.09
  1286.         .98 [D%]               -10.09
  1287.  
  1288.      Gasoline prices have fallen 10.09%.
  1289.  
  1290.  
  1291.      Example:  If last year, you spent $640.00 on  gasoline  for  your
  1292.      car, $340.00 in insurance, and $448.00 in maintenance and repair,
  1293.      what  percentage of your total automotive  costs  were  spent  on
  1294.      gasoline?
  1295.  
  1296.      Keystroke                 Display        Comment
  1297.      ================================================================
  1298.         640 [ENTER]            640.00         Gasoline
  1299.         340 [ + ]              980.00         Plus insurance
  1300.         448 [ + ]             1428.00         Plus repair
  1301.         640 [%T]                44.82
  1302.  
  1303.      You spent nearly 45 percent on gasoline.
  1304.  
  1305.  
  1306.  
  1307.                                    - 23 -
  1308.      6.4 Simple Interest
  1309.  
  1310.      Simple interest calculations involve calculations  where interest
  1311.      is not compounded over a number of periods but rather is a single
  1312.      fixed amount  over a fixed  period  of time.  Simple interest can
  1313.      be computed either using a 360 day year or a 365 day year.
  1314.  
  1315.      Example:    Suppose  you wish to compute the amount owed on a 180
  1316.      day loan of  $5000.00  computed using 12% simple interest. Assume
  1317.      that interest is calculated using a 360 day year.
  1318.  
  1319.      Keystroke                 Display        Comment
  1320.      ================================================================
  1321.      5000 [ChS] [PV]          -5,000.00       Loan amount
  1322.      180 [ N ]                   180.00       Loan period
  1323.      12 [ I ]                     12.00       Interest rate.
  1324.      [INT]                       300.00       Interest, 360 Day basis
  1325.      [ + ]                     5,300.00       Total amount
  1326.  
  1327.      The amount owed, including interest is 5,300.00.   If  you wished
  1328.      to compute the interest based on a 365 day year, you  would press
  1329.      the [R|] key sequence after pressing [Int].
  1330.  
  1331.  
  1332.  
  1333.      6.5 Compound Interest
  1334.  
  1335.      Compound  interest calculations involve monies where interest  is
  1336.      computed at regular compounding periods.    A  compounding period
  1337.      may  be  a  day, month, year, etc.  The more  often  interest  is
  1338.      compounded, the greater  the  amount  of  interest  payment since
  1339.      interest is being earned/paid on interest.
  1340.  
  1341.      XACT-12C uses the  [PV]  [FV]  [PMT]  [N]  and  [I]  registers in
  1342.      compound interest calculations.  Any  of  four  of  the variables
  1343.      must be known and the fifth one can then be calculated.
  1344.  
  1345.      In calculations where  the  compounding period is monthly and the
  1346.      length of annuity or interest rate are given  in  years, XACT-12C
  1347.      provides two convenient short cut function keys.   The  [12x] key
  1348.      is used  to  store  the  number of years and the [12/] is used to
  1349.      store the annual interest rate.
  1350.  
  1351.      In addition, the [Beg] and [End] function keys can  be  used  for
  1352.      when interest is to be compounded at the Beginning of  a compound
  1353.      period  (annuity  due),  or  at  the End of a compounding  period
  1354.      (ordinary annuity).  When first  loaded, XACT-12C is in End mode.
  1355.      To change to Begin mode, you would press the [Beg]  function key.
  1356.      When you do so, the letters "Beg" will be  shown  to the right of
  1357.      the display to remind you that  you  are in Begin mode. To change
  1358.      back to End mode, press [End].
  1359.  
  1360.      A number of  compound  interest  calculation  examples  are shown
  1361.      below.
  1362.  
  1363.  
  1364.                                    - 24 -
  1365.      LOAN CALCULATIONS
  1366.  
  1367.      Example:  Suppose you  wish  to take out a home improvement loan.
  1368.      Calculate the monthly  payment  if  your  loan is for $7500 at 9%
  1369.      annual interest compounded monthly over 4 years.
  1370.  
  1371.      Keystroke                 Display        Comment
  1372.      ================================================================
  1373.      [Fin]                                    Clear finance registers
  1374.      7500 [PV]                 7,500.00       Store PV amount
  1375.      [End]                     7,500.00       Use "end" mode
  1376.      9 [12/]                       0.75       Interest rate/period
  1377.      4 [12x]                      48.00       Number of periods
  1378.      [PMT]                      -186.64       Monthly payment.
  1379.  
  1380.  
  1381.      Example:   How much could you afford to pay for a new car if  you
  1382.      could afford $300.00 monthly payments.  Assume a 4 year loan with
  1383.      6% interest compounded monthly.
  1384.  
  1385.      Keystroke                 Display        Comment
  1386.      ================================================================
  1387.      [Fin]                                    Clear finance registers
  1388.      300 [ChS] [PMT]           -300.00        Monthly payment
  1389.      6 [12/]                      0.50        Monthly interest rate
  1390.      4 [12x]                     48.00        Number of periods
  1391.      [PV]                    12,774.10        Purchase price
  1392.  
  1393.      You could afford to spend as much as $12,774.10 for your car.
  1394.  
  1395.  
  1396.      Example:  Calculate the Annual Percentage Rate (APR) on a 20 year
  1397.      home loan of $125,000 at 9.5%  interest.   Assume the loan fee is
  1398.      1.5%.
  1399.  
  1400.      Keystroke                 Display        Comment
  1401.      ================================================================
  1402.      [Fin]                                    Clear registers
  1403.      [End]                                    End mode
  1404.      125000 [PV]            125,000.00        Amount of loan
  1405.      9.5 [12/]                    0.79        Monthly interest
  1406.      20 [12x]                   240.00        Number of months
  1407.      [PMT]                   -1,165.16        Monthly payment
  1408.      [Rcl] [PV]                   1.50
  1409.      [ % ] [ - ] [PV]       123,125.00        Amount less loan fee
  1410.      [ I ]                        0.81        Monthly interest
  1411.      12 [ * ]                     9.72        APR interest
  1412.  
  1413.      The APR interest rate is 9.72%.
  1414.  
  1415.  
  1416.      Example:  Suppose you  purchased  a home 7 years ago for $75,000.
  1417.      You have just sold the home for 124,000.    In  terms  of monthly
  1418.      compound interest rate, how much has the home appreciated?
  1419.  
  1420.  
  1421.                                    - 25 -
  1422.      Keystroke                 Display        Comment
  1423.      ================================================================
  1424.      [Fin]                                    Clear finance registers
  1425.      [End]                                    End mode
  1426.      75000 [ChS] [PV]       -75,000.00        Purchase price
  1427.      124000 [FV]            124,000.00        Sell price
  1428.      7 [12x]                     84.00        Number of months
  1429.      [ I ]                        0.60        Monthly interest rate
  1430.      12 [ * ]                     7.20        Annual interest rate
  1431.  
  1432.      The home has appreciated at an annual rate of 7.2%.
  1433.  
  1434.  
  1435.      SAVINGS CALCULATIONS
  1436.  
  1437.      Example:  Suppose  you  presently  have  $9600  in  your  savings
  1438.      account.  You have just received a raise  and  are  able  to make
  1439.      monthly deposits of $400 into this account.  How long will  it be
  1440.      before  you  have  $17000 if your account  earns  6.50%  interest
  1441.      compounded quarterly?
  1442.  
  1443.      Keystroke                 Display        Comment
  1444.      ================================================================
  1445.      [Fin]                                    Clear finance registers
  1446.      9600 [ChS] PV            9,600.00        Beginning amount
  1447.      400 [ChS] [PMT]            400.00        Monthly deposit
  1448.      6.5 [ENTER] 4 [/] [I]        1.63        Interest rate per period
  1449.      17000 [FV]              17,000.00        Future value
  1450.      [ N ]                       13.00        Number of months
  1451.  
  1452.      It would take 13 months to reach $17,000 in your account.
  1453.  
  1454.  
  1455.      Example:  How  much will you have to save each month in order  to
  1456.      have $3500 at the end  of  14  months.    Assume  you  make equal
  1457.      monthly  deposits  into  a new savings account  that  earns  5.5%
  1458.      interest compounded monthly.
  1459.  
  1460.      Keystroke                 Display        Comment
  1461.      ================================================================
  1462.      [Fin]                                    Clear finance registers
  1463.      3500 [FV]                3,500.00        Future value
  1464.      14 [N]                      14.00        14 periods
  1465.      5.5 [12/]                    0.46        Interest rate/period
  1466.      [PMT]                     -242.64        Monthly deposit
  1467.  
  1468.      You would have to save $242.64 per month.
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.                                    - 26 -
  1479.      6.6 Amortization
  1480.  
  1481.      XACT-12C can produce  a  loan  amortization  schedule  using it's
  1482.      built  in  [AMORT]  function.     To   perform   an  amortization
  1483.      calculation, you must:
  1484.  
  1485.         1- Enter the loan amount, interest, and payment amount.
  1486.         2- Enter the number of payments to amortize and press
  1487.            [AMORT] to display the interest amount paid toward the loan.
  1488.         3- Press the [x<>y] function to display the principal amount paid
  1489.            toward the loan.
  1490.         4- Press [Rcl] [PV] to display the balance of the loan.
  1491.  
  1492.      Example:  Suppose you  have  purchased  an automobile for $23,000
  1493.      at 7.5% interest compounded monthly on  a  4 year loan.  Find the
  1494.      amount you will have  paid  in interest and principal on the loan
  1495.      after 10 months and after 20 months.
  1496.  
  1497.      Keystroke                 Display        Comment
  1498.      ================================================================
  1499.         [Fin]                                 Clear registers
  1500.         [End]                                 End mode
  1501.         23000 [PV]           23,000.00        Loan amount 7.5
  1502.         [12/]                     0.63        Interest per month
  1503.         4 [12x]                  48.00        Number of months
  1504.         [PMT]                  -556.11        Monthly payment
  1505.         10 [AMORT]           -1,319.57        Interest paid 10 mo.
  1506.         [x<>y]               -4,241.53        Principal paid 10 mo.
  1507.         [Rcl] [PV]           18,758.47        Balance
  1508.         10 [AMORT]           -1,046.90        Interest paid 20 mo.
  1509.         [x<>y]               -4,514.20        Principal paid 20 mo.
  1510.         [Rcl] [PV]           14,244.27        Balance 20 mo.
  1511.  
  1512.      After  10  months,  you would have paid  $1,319.57  in  interest,
  1513.      $4,241.53  in  principal,  and  have  a   remaining   balance  of
  1514.      $18,758.47.  After 20 months, you would have  paid  an additional
  1515.      $1,046.90  in  interest,  $4,514.20  in  principal,  and  have  a
  1516.      remaining balance of $14,244.27.
  1517.  
  1518.  
  1519.  
  1520.      6.7 Net Present Value
  1521.  
  1522.      The [NPV] function calculates the net present value  of  a series
  1523.      of cash flows, made at regular intervals.  It  is  most  commonly
  1524.      used  to perform  an analysis between  a  variety  of  investment
  1525.      opportunities.     A  negative  NPV  represents  a  loss  on  the
  1526.      investment.
  1527.  
  1528.      Example:  Suppose that you wanted to buy a business  for $150,000
  1529.      and sell it after 4 years.  If you project  that  your cash flows
  1530.      will be -7,500 after  the  first  year,  $9,000 after the second,
  1531.      $28,000 after the  third,  and finally $164,000 after the fourth,
  1532.      would you be receiving at least 12% return?
  1533.  
  1534.  
  1535.                                    - 27 -
  1536.      Keystroke                 Display        Comment
  1537.      ================================================================
  1538.         [Reg]                                 Clear registers
  1539.         150000 [ChS] [CFo]    -150,000.00     Initial cash outlay
  1540.         7500 [ChS] [CFj]         7,500.00     1st cash flow
  1541.         9000 [CFj]               9,000.00     2nd cash flow
  1542.         28000 [CFj]             28,000.00     3rd cash flow
  1543.         164000 [CFj]           164,000.00     4th cash flow
  1544.         12 [ I ]                    12.00     Desired interest rate
  1545.         [NPV]                  -11,974.01     Net Present Value.
  1546.  
  1547.  
  1548.      Since the result is a negative number, the desired 12% rate would
  1549.      not be achieved.
  1550.  
  1551.      The [Nj] function can be used when there are a number of times in
  1552.      which the same cash flow occurs.
  1553.  
  1554.      Example:    Suppose  you are considering purchasing  a  hotel  in
  1555.      Colorado  for  an  initial payment of $110,000.  You predict that
  1556.      cash flows for the first 2 years be $45,000  each  year,  $55,000
  1557.      for the third year and $60,000 for the fourth year.  You desire a
  1558.      20% return on investment.  Can this amount be realized?
  1559.  
  1560.      Keystroke                 Display        Comment
  1561.      ================================================================
  1562.      [Reg]                                    Clear registers
  1563.      110000 [ChS] [CFo]      -110,000.00      Initial cash outlay
  1564.      45000 [CFj]               45,000.00
  1565.      2 [Nj]                         2.00      1st and 2nd cash flow
  1566.      55000 [CFj]               55,000.00      3rd cash flow
  1567.      60000 [CFj]               60,000.00      4th cash flow
  1568.      20 [ I ]                      20.00      Interest rate
  1569.      [NPV]                     19,513.89      Net Present Value
  1570.  
  1571.      The NPV for the hotel is positive, thus the investment will yield
  1572.      the desired result.
  1573.  
  1574.  
  1575.  
  1576.      6.8 Internal Rate of Return
  1577.  
  1578.      The internal rate of return is a discount rate which  equates the
  1579.      present value of the expected cash outlays with the present value
  1580.      of expected cash income.  It is the rate of return  an investment
  1581.      is expected to return.
  1582.  
  1583.      Example:  Calculate the  Internal  Rate  of  Return for the above
  1584.      example.
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.                                    - 28 -
  1593.  
  1594.      Keystroke                 Display        Comment
  1595.      ================================================================
  1596.      [IRR]                       28.60        Internal rate of return
  1597.  
  1598.  
  1599.      The investment will yield a 28.6% return.
  1600.  
  1601.  
  1602.      Example:    An  investment in a startup  technology  business  is
  1603.      projected to  involve negative cash flows of $30,000, $50,000 and
  1604.      $70,000  for  the  first three years, and finally a positive cash
  1605.      flow of $180,000 for  the  fourth  year.   Calculate the internal
  1606.      rate of return, the return on the investment.
  1607.  
  1608.      Keystroke                 Display        Comment
  1609.      ================================================================
  1610.      [Reg]                                    Clear registers
  1611.      30000 [ChS] [CFo]       -30,000.00       1st cash flow
  1612.      50000 [ChS] [CFj]       -50,000.00       2nd cash flow
  1613.      70000 [ChS] [CFj]       -70,000.00       3rd cash flow
  1614.      180000 [CFj]            180,000.00       4th cash flow
  1615.      [IRR]                        10.89       IRR
  1616.  
  1617.      The investment would yield a 10.89% return after 4 years.
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.                                    - 29 -
  1650.      7. Bond Calculations
  1651.  
  1652.  
  1653.  
  1654.      7.1 Bond Yield
  1655.  
  1656.      The [Price] and [YTM] functions  calculate the price and yield to
  1657.      maturity of a semi-annual  coupon  bond.   Using these functions,
  1658.      calculations are done using a par value of 100.
  1659.  
  1660.      Example:  If you are interested in purchasing an 8.5% semi-annual
  1661.      coupon  bond  at 94 1/2.  Determine  the  yield  this  bond  will
  1662.      produce if you purchase it on November 15, 1987 and it matures on
  1663.      April 7, 1996.
  1664.  
  1665.      Keystroke                 Display        Comment
  1666.      ================================================================
  1667.      [M.DY]                                   Mon/Day/Yr format
  1668.      8.5 [PMT]                   8.50         Coupon rate
  1669.      94.5 [PV]                  94.50         Bond price
  1670.      11.151987 [ENTER]          11.15         Purchase date
  1671.      4.071996 [YTM]              9.46         Yield
  1672.  
  1673.      The bond would yield 9.46%.
  1674.  
  1675.  
  1676.  
  1677.      7.2 Bond Price
  1678.  
  1679.      Example:    Assume  you desire a yield of 8.75% on  a  bond  that
  1680.      reaches  maturity  on  August 4, 1998.  If the bond  is  a  7.25%
  1681.      Treasury bond, how much should you pay for the bond on October11,
  1682.      1988?
  1683.  
  1684.      Keystroke                 Display        Comment
  1685.      ================================================================
  1686.      [M.DY]                                   Mon/Day/Yr format
  1687.      7.25 [PMT]                  7.25         Coupon rate
  1688.      8.75 [ I ]                  8.75         Desired yield
  1689.      10.111988 [ENTER]          10.11         Purchase date
  1690.      8.041998 [Price]           90.24         Compute price
  1691.  
  1692.      You should pay $90.24.
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.                                    - 30 -
  1707.      8. Statistical Calculations
  1708.  
  1709.  
  1710.  
  1711.      XACT-12C  can  perform  common statistical calculations including
  1712.      mean and standard deviation using it's built-in  capabilities. In
  1713.      addition, programs can be written to perform  complex statistical
  1714.      analysis.
  1715.  
  1716.  
  1717.  
  1718.      8.1 Entering and Removing Numbers
  1719.  
  1720.      The [S+] function  key  is  used  to  enter a new number into the
  1721.      statistical  registers.    XACT-12C  can  be   used   to  perform
  1722.      statistical operations using both  one  and  two variables.  When
  1723.      using  one  variable,  that variable is  referred  to  as  the  X
  1724.      variable.  With two variable  analysis,  the  second  variable is
  1725.      referred to as the Y variable.
  1726.  
  1727.      When entering  single variable numbers, enter the number and then
  1728.      press the [S+] function  key.    Continue  this process until all
  1729.      numbers have been entered.
  1730.  
  1731.      With two variables,  first  key  in  the Y variable and press the
  1732.      [ENTER] key, then enter the X variable and press the [S+] key.
  1733.  
  1734.      When the [S+] function key is used, memory registers 1  through 6
  1735.      will  hold  intermediate  values.  You can use the [Rcl] function
  1736.      key to view these values, or to use them within  a  program.  The
  1737.      values contained in registers 1 through 6 are summarized below:
  1738.  
  1739.  
  1740.         R1 contains the value N, the number of data values
  1741.            or data pairs) entered thus far.
  1742.         R2 contains the sum of the X values.
  1743.         R3 contains the sum of the squares of the X values.
  1744.         R4 contains the sum of the Y values.
  1745.         R5 contains the sum of the squares of the Y values.
  1746.         R6 contains the sum of the products of the X values
  1747.            and the Y values.
  1748.  
  1749.      To  remove an incorrectly entered value, you  can  use  the  [S-]
  1750.      function key.  Simply re-enter the incorrect value and then press
  1751.      the [S-] function key.
  1752.  
  1753.  
  1754.  
  1755.      8.2 Statistical Mean
  1756.  
  1757.      Example: Suppose you are a  teacher  with  5  students. Student's
  1758.      scores on their  last test were 80, 63, 77, 94, and 79.  Find the
  1759.      mean of the test results.
  1760.  
  1761.  
  1762.  
  1763.                                    - 31 -
  1764.      Keystroke                 Display        Comment
  1765.      ================================================================
  1766.      [S]                                      Clear statistics
  1767.      80 [S+]                    1.00          1st score
  1768.      63 [S+]                    2.00          2nd score
  1769.      77 [S+]                    3.00          3rd score
  1770.      94 [S+]                    4.00          4th score
  1771.      79 [S+]                    5.00          5th score
  1772.      [xbar]                    78.60          Mean
  1773.  
  1774.      The mean of the test scores is 78.6.
  1775.  
  1776.  
  1777.  
  1778.      8.3 Statistical Weighted Mean
  1779.  
  1780.      Data for  statistical  weighted  mean  calculations  are  entered
  1781.      similarly to data for other 2  variable  statistical calculations
  1782.      except  that  the  [x  w]  function  key  is  used to compute the
  1783.      weighted mean.
  1784.  
  1785.      Example:  Find the  average  cost per minute of your monthly long
  1786.      distance calls if you were charged for the  following:  3 minutes
  1787.      for $0.35 per minute, 13 minutes for $0.70 per minute,  9 minutes
  1788.      for $0.56 per minute, and 4 minutes for $0.98 per minute.
  1789.  
  1790.      Keystroke                 Display        Comment
  1791.      ================================================================
  1792.      [S]                                      Clear registers
  1793.      .35 [ENTER]                 0.35
  1794.      3 [S+]                      1.00         First charge
  1795.      .70 [ENTER]                 0.70
  1796.      13 [S+]                     2.00         Second charge
  1797.      .56 [ENTER]                 0.56
  1798.      9 [S+]                      3.00         Third charge
  1799.      .98 [ENTER]                 0.98
  1800.      4 [S+]                      4.00         Fourth charge
  1801.      [x w]                       0.66         Weighted mean
  1802.  
  1803.      You paid  an  average  of  66  cents  per minute in long distance
  1804.      charges.
  1805.  
  1806.  
  1807.  
  1808.      8.4 Standard Deviation
  1809.  
  1810.      XACT-12C can be used to  calculate the standard deviation of both
  1811.      x and y variables using the [S] function key.
  1812.  
  1813.      Example:   Assume  a  set  of  students  test scores for math and
  1814.      English tests are as follows:
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.                                    - 32 -
  1821.      Student       Math      English
  1822.      ===============================
  1823.        1            59         64
  1824.        2            66         69
  1825.        3            88         82
  1826.        4            70         51
  1827.  
  1828.      Calculate the standard deviation for the students results.
  1829.  
  1830.      Keystroke                 Display        Comment
  1831.      ================================================================
  1832.      [S]                                      Clear registers
  1833.      59 [ENTER] 64 [S+]         1.00          1st student
  1834.      66 [ENTER] 69 [S+]         2.00          2nd student
  1835.      88 [ENTER] 82 [S+]         3.00          3rd student
  1836.      70 [ENTER] 51 [S+]         4.00          4th student
  1837.      [S]                        12.82         Math standard deviation
  1838.      [x<>y]                     12.37         English std. deviation
  1839.  
  1840.      The standard deviation for  the  student's  math scores was 12.82
  1841.      and for the English scores was 12.37.
  1842.  
  1843.  
  1844.  
  1845.      8.5 Linear Estimate
  1846.  
  1847.      Using values entered  for  x  and  y variables, you can compute a
  1848.      "best  guess"  for  either variable, given a sample value for the
  1849.      other one.
  1850.  
  1851.      Example:  Using the above data for student  test  scores, compute
  1852.      an estimate for a student's  English score given that the student
  1853.      has a math score of 80.  Compute the correlation  coefficient for
  1854.      this value.
  1855.  
  1856.      Keystroke                 Display        Comment
  1857.      ================================================================
  1858.      80 [y,r]                   78.87         Math score estimate
  1859.      [x<>y]                      0.62         Correlation Coefficient
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.                                    - 33 -
  1878.      9. Calendar Calculations
  1879.  
  1880.  
  1881.  
  1882.      9.1 Days between Dates
  1883.  
  1884.      XACT-12C can compute the number of days between 2 dates using the
  1885.      [DDays] and future or past date given a number of days  using the
  1886.      [Date] function.  These functions  can  be  utilized  in compound
  1887.      interest    calculations   as   well  as  bond  price  and  yield
  1888.      calculations.
  1889.  
  1890.      Example:  Compute  the  number  of  days between July 4, 1987 and
  1891.      October 31, 1987.
  1892.  
  1893.      Keystroke                 Display        Comment
  1894.      ================================================================
  1895.      7.041987 [ENTER]           7.04          First date
  1896.      10.311987                 10.311987      Second date
  1897.      [DDays]                  119.00          Days between dates
  1898.  
  1899.      There are 119.00 days between these 2 dates.
  1900.  
  1901.      XACT-12C   can   also  perform  date   calculations   using   the
  1902.      Day/Month/Year format.  To use  this  format,  press  [d.my]. The
  1903.      calculator will display D.MY on the right of the screen to remind
  1904.      you that you're using this format.  To  return  to Month/Day/Year
  1905.      format, press [M.DY].
  1906.  
  1907.  
  1908.  
  1909.      9.2 Date Calculations
  1910.  
  1911.      Example:   What  will  the  date be 178 days from now if today is
  1912.      July 19, 1988?.
  1913.  
  1914.      Keystroke                 Display        Comment
  1915.      ================================================================
  1916.      [D.MY]                                   Day/Mon/Yr format
  1917.      19.071988 [ENTER]          19.07         First date
  1918.      178 [Date]                 13,1,1989 5   Future date
  1919.  
  1920.      The date  will  be  January  13, 1989.  It will fall on a Friday.
  1921.      (The   last  digit  indicates  the  day   of   the   week,   i.e.
  1922.      0=Sunday,1=Monday, etc.).
  1923.  
  1924.      Example: On what day were you born if your  birthday  was  August
  1925.      27, 1958?
  1926.  
  1927.      Keystroke                 Display        Comment
  1928.      ================================================================
  1929.      [M.DY]                                   Mon/Day/Yr format
  1930.      8.271958 [ENTER]         8.27
  1931.      0 [Date]                 8,27,1958 3     Wednesday
  1932.  
  1933.  
  1934.                                    - 34 -
  1935.      10. Programming
  1936.  
  1937.  
  1938.  
  1939.      10.1 Introduction to Programming
  1940.  
  1941.      Programming  XACT-12C  is  a  process  whereby  you  "teach"  the
  1942.      calculator a series of keystrokes, similar to the  way  you would
  1943.      normally enter the keystrokes if  you  were  computing  a problem
  1944.      manually.  In addition,  you  can  have  a program take different
  1945.      actions in a program  based  upon  values contained in registers.
  1946.      For example, the program could  take a different course of action
  1947.      if the value contained in the X register is less-than-or-equal-to
  1948.      the value  in  the  Y  register.    This is known as "conditional
  1949.      branching".    Programming  also  allows  you  to   repeat  given
  1950.      keystroke sequences a certain number of times. This  is  known as
  1951.      "looping".
  1952.  
  1953.      If  you  are  interested  in  advanced  programming  features  of
  1954.      XACT-12C,  we  suggest  you  obtain  a copy of the HP-12C Owner's
  1955.      Handbook and Problem   Solving  Guide  and  optionally any of the
  1956.      other manuals which were mentioned  earlier in Chapter 1.2.
  1957.  
  1958.  
  1959.      10.2 Entering a Program into XACT-12C
  1960.  
  1961.      To begin entering a new  program  into  XACT-12C,  the calculator
  1962.      must be placed in  Program  mode  by  pressing the [P/R] function
  1963.      key.   When in program mode,  subsequent  keystrokes  are  simply
  1964.      stored in the calculator's internal memory. The [P/R] key toggles
  1965.      between program and run modes.
  1966.  
  1967.      Keystroke                 Display        Comment
  1968.      ================================================================
  1969.      [P/R]                     00-            Program mode
  1970.      [P/R]                     (as before)    Run mode.
  1971.  
  1972.      When first entering program mode,  the  display  shows  the value
  1973.      00-.  This  represents  the current program line  number  of  the
  1974.      program you are entering.  Line 00- is special in that  it always
  1975.      represents the beginning of program memory.  Let's  enter  a very
  1976.      simple program:
  1977.  
  1978.      Keystroke                 Display        Comment
  1979.      ================================================================
  1980.      [P/R]                   00-               Program mode
  1981.      [Prgm]                  00-               Clear program memory
  1982.      1                       01-        1
  1983.      0                       02-        0
  1984.      [ENTER]                 03-       36
  1985.      4                       04-        4
  1986.      [ + ]                   05-       10
  1987.      [P/R]                                      Run mode
  1988.  
  1989.  
  1990.  
  1991.                                    - 35 -
  1992.      The  program simply adds the numbers 10+4  and  finishes.    When
  1993.      XACT-12C  is in program mode, the numbers to  the  right  of  the
  1994.      program line are a code which represents which  key  was pressed.
  1995.      The first digit of the number indicates the row  and  the  second
  1996.      indicates the column  of  where  the  key  is  positioned  on the
  1997.      XACT-12C screen.   If  you  think  of  all the  keystrokes on the
  1998.      calculator face as being in a  table  with 4 rows and 10 columns,
  1999.      each key can be identified as being in a certain row  and column.
  2000.      For  example the [ENTER] key is located in Row 3, Column 6.  Thus
  2001.      in  instruction  line  03-    the display contains the value  36.
  2002.      Likewise the [ + ] key is in  row  4,  column  10, so the display
  2003.      shows 40.]
  2004.  
  2005.      To run the program:
  2006.  
  2007.      Keystroke                 Display        Comment
  2008.      ================================================================
  2009.      [R/S]                     14.00          Program result
  2010.  
  2011.  
  2012.      As  a  more  practical example, we  will  write  a  program  that
  2013.      converts  a  nominal  interest  rate  into  an  effective  annual
  2014.      interest  rate.    To  use  the  program,  enter  the  number  of
  2015.      compounding periods per year  in  memory  1, the nominal interest
  2016.      rate in memory 2, and run the program by pressing [R/S].
  2017.  
  2018.      Keystroke                 Display        Comment
  2019.      ================================================================
  2020.      [P/R]                                    Switch to program mode
  2021.      [Prgm]                   00-             Clear program
  2022.      [Fin]                    01-   42  34    Clear fin. registers.
  2023.      [Rcl] 2                  02-   45   2    Recall interest rate
  2024.      [Rcl] 1                  03-   45   1    Recall compound interval
  2025.      [ N ]                    04-       11    Store in N register
  2026.      [ / ]                    05-       40    Divide
  2027.      [ I ]                    06-       12    Store int. rate per
  2028.                                               compounding period
  2029.      1                        07-        1
  2030.      0                        08-        0
  2031.      0                        09-        0
  2032.      [Chs]                    10-       16
  2033.      [ENTER]                  11-       36
  2034.      [PV]                     12-       13    Set PV to -100
  2035.      [FV]                     13-       15    Compute FV
  2036.      [ + ]                    14-       10
  2037.      [P/R]                                    Return to Run mode
  2038.  
  2039.      For example, assume you wanted to compute the effective rate of a
  2040.      savings account that earned 6 7/8% compounded semi-annually.
  2041.  
  2042.      Keystroke                 Display        Comment
  2043.      ================================================================
  2044.      7 [ENTER]                  7.00
  2045.      8 [ / ]                    0.88
  2046.  
  2047.  
  2048.                                    - 36 -
  2049.      6 [ + ]                    6.88
  2050.      [Sto] 2                    6.88          Nominal interest rate
  2051.      2 [Sto] 1                  2.00          Compounding interval
  2052.      [R/S]                      6.99          Effective Rate is 6.99%
  2053.  
  2054.  
  2055.  
  2056.      10.3 Program Loops and Branches
  2057.  
  2058.      XACT-12C can make "conditional tests" based upon values contained
  2059.      in  the  X  and Y registers.    When  running  a  program,  these
  2060.      functions will execute the next instruction in the program if the
  2061.      condition is true, and skip over it if the  condition  is  false.
  2062.      The instructions are defined as
  2063.  
  2064.         [x<=y]      true if x less than or equal to y
  2065.         [x=0]       true if x equals 0
  2066.  
  2067.      For example, you could execute  a series of instructions within a
  2068.      loop using the above conditional tests.  The  example  below adds
  2069.      the  numbers  1  through 5 in a loop, stores the result in memory
  2070.      register 1 and then finishes.
  2071.  
  2072.      Keystroke                 Display        Comment
  2073.      ================================================================
  2074.      [P/R]                                    Programming mode
  2075.      [Prgm]                   00-             Clear program
  2076.      0                        01-         0
  2077.      [Sto] 1                  02-      44 1   Clear register 1
  2078.      5                        03-         5   Start with 5
  2079.      [Sto] [ + ] 1            04-   44 40 1   Add to Memory 1
  2080.      1                        05-         1   Decrement
  2081.      [ - ]                    06-        30
  2082.      [x=0]                    07-     43 35   Test for 0
  2083.      [R/S]                    08-        31   Done
  2084.      [Gto] 04                 08-  43 33 04
  2085.      [P/R]
  2086.  
  2087.      When the program is run, the resulting answer  will  be contained
  2088.      in memory register 1.
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.                                    - 37 -
  2106.      Appendix
  2107.  
  2108.  
  2109.  
  2110.      Error Conditions
  2111.  
  2112.      When an error  is  encountered  during  operation,  XACT-12C will
  2113.      display the word "Error" in the calculator's display, followed by
  2114.      a 1 digit error code.  These error codes are defined below:
  2115.  
  2116.  
  2117.      Error  0    -  Invalid math operation.  This error is encountered
  2118.      when an operation  attempted  division  by  0, a square root of a
  2119.      negative number, or other invalid math operation.
  2120.  
  2121.      Error  1    -    Out-of-Bounds Storage register operation.   This
  2122.      happens if a storage  register  operation  overflows the range of
  2123.      the calculator.
  2124.  
  2125.      Error 2  -  Invalid Statistical operation.    This  happens  if a
  2126.      statistical operation cannot be performed or is out of range, for
  2127.      instance taking the mean of 0 numbers.
  2128.  
  2129.      Error  3  -  IRR.   This  error  happens  if  an  IRR  cannot  be
  2130.      performed or has ambiguous data.
  2131.  
  2132.      Error 4  -  Memory range  overflow.    This  error  occurs  if an
  2133.      attempt has been made to access an out-of-range memory location.
  2134.  
  2135.      Error 5  -  Invalid interest operation.    This  error  occurs if
  2136.      invalid or ambiguous input data  was used to calculate a compound
  2137.      interest result, for instance  if  all  cash  flows have the same
  2138.      sign.
  2139.  
  2140.      Error 6    -    Invalid storage register.  This error occurs if a
  2141.      storage register is invalid, or if N or N20 when  calculating NPV
  2142.      or IRR.
  2143.  
  2144.      Error 7  -  IRR.    The  IRR calculation cannot be performed with
  2145.      the given input data.
  2146.  
  2147.      Error 8  -  Invalid calendar calculation.  A date is out of range
  2148.      or in an ambiguous format.
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.                                    - 38 -